package com.test.service.impl;

import com.test.dao.ArticleMapper;
import com.test.dao.ArticleTypeMapper;
import com.test.pojo.Article;
import com.test.pojo.ArticleType;
import com.test.service.ArticleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Autowired
    private ArticleTypeMapper articleTypeMapper;

    @Override
    public List<ArticleType> getAll() {
        return articleTypeMapper.getAll();
    }
}
